import { NavigationContainer } from '@react-navigation/native';
import { createNativeStackNavigator } from '@react-navigation/native-stack';
import Detail from './pages/Detail';
import Efamily from './pages/Efamily';
import SwiperPicture from './pages/Swiper';
import TabBar from './pages/TabBar';

const Stack = createNativeStackNavigator();

export default function App() {

  return (
    <NavigationContainer>
      <Stack.Navigator>
        <Stack.Screen
          options={{
            headerShown: false
          }}
          name='Swiper' component={SwiperPicture} />
        <Stack.Screen
          options={{ headerShown: false }}
          name='Root' component={TabBar} />
        <Stack.Screen name='Detail' component={Detail} />
        <Stack.Screen name='Efamily' component={Efamily}
        />
      </Stack.Navigator>

    </NavigationContainer>
  );
}

